package com.consumer.demo.service;

import com.consumer.demo.FullLogConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value="PRODUCE-DEMO",configuration = FullLogConfiguration.class,path = "/main")
public interface CMainService {

    @PostMapping("/index")
    String index(@RequestParam("token") String token);

}
